<?php
namespace app\index\controller;

use think\App;
use think\Controller;

class Access extends Controller
{
    /**
     * Access constructor.
     * @param App|null $app
     */
    public function __construct(App $app = null)
    {
        parent::__construct($app);
        header('Access-Control-Allow-Origin:*');
        header("Access-Control-Allow-Headers:*");
    }

}
